home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
teach241.arj
/
TWCAI2.CHP
< prev
next >
Wrap
Text File
|
1992-12-11
|
28KB
|
927 lines
#OFF
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|STEPS| |STEP 2| |NUMAID| |QUICK REFERENCE| |JUMP START| |ABOUT|
#HH,1,5,80,1,1,0
#R6
╥ ╥ ╖ ╓─┐ ╥ ╥ ╓─┐
╟─╢ ╓╖ ╥┐ ╓╖ ╓─ ║ ╟┐ ╓┐ ╥┐ ─╫─ ╓╖ ╥┐ ╓─┘
╨ ╨ ╙─ ╨ ╙─ ─╜ ╙─┘ ╨└ ╙┴ ╟┘ ╙┘ ╙─ ╨ ╙─┘
╓╥┐ ╥ ╥ ┌╥┬┐ ╥ ∞
║ ╓╖ ╥┬┐ ╥┐ ║ ╓┐ ─╫─ ╓╖ ║┴│ ╓╖ ╓─ ╟┐ ╓┐ ╥┐ ╥ ╓─ ╓─
╨ ╙─ ╨ ┴ ╟┘ ╨ ╙┴ ╙┘ ╙─ ╨ ┴ ╙─ ╙─ ╨└ ╙┴ ╨└ ╨ ╙─ ─╜
Preview
~b~Y~I┌───────────────────────────────────────────────────────────┐~z
~b~Y~I│Chapter 2 discusses the common organization and elements │~z
~b~Y~I│of all CAITeach template files. For example: all have 16 │~z
~b~Y~I│lines, a number line, remark line and a common sequence. │~z
~b~Y~I│In the next chapters we will look at each template, but by │~z
~b~Y~I│discussing their common parts we save doing it four times. │~z
~b~Y~I└───────────────────────────────────────────────────────────┘~z
#NE
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#W
#NC
#BO,20,12,64,19,2,1,1,5,14,4
As mentioned in Chapter 1, you really
need a printout of Quick Reference, and
NumAid for this Chapter.
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|CAITEST FILE| |STEPS| |STEP 2| |MERGE| |JUMP START|
#HH,1,5,80,1,1,0
#R6
▄█▀▀▀▀▀█▄ .∙ The three Steps in writing a CAITest are:
▐█▐─ô═ô─▌█▌∙.
└┤ /U\ ┌┘ .∙ Step 1. Write tutorial in ~W~ITutorialWriter~Y~I
│█▀▀▀█│ ~C~IStep 2~Y~I. Construct CAI file in editor & DOS test
└┬███┬┘ Step 3. Run CAITest File from ~W~ITutorialWriter~Y~I
▒▒▒▒\■/▒▒▒▒
This tutorial does not discuss Step 1.
~C~IStep 2~Y~I consists of four parts:
* Merging * Composing
~F*~F Checking (mechanics) ~F*~F Testing at DOS
This Chapter discusses only the last ~Ftwo~F parts of ~C~IStep 2~Y~I.
~KI carefully picked mechanics and testing for Chapter 2~k. ~W~IOnce you under-
stand the basic elements, and can get your questions to run from DOS you are
ready for experimentation~Y~I.
Any errors made in ~C~IStep 3~Y~ are immediately obvious when testing.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#AR,0,7
Before you can check something you
must know its parts. The parts
of a CAITest are templates, each
stored as a text file.
This chapter starts our study
of templates.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|TEMPLATES| |MERGE| |STEPS| |STEP 2| |CAITEACH|
#AP,0,12
Now to work.....
I'm going to discuss the three divisions and
each line of CAITeach Templates. Suggest
you scan the hypertext Templates.
I'm going to show you how to manually renumber
and check, at DOS, a previously merged and
composed file.
When finished you'll know the basic mechanics
or all templates and the CAITest file.
#HH,1,5,80,1,1,0
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#NC
#BO,10,12,64,18,2,1,1,5,14,4
You might learn, by observation, how to write
within the templates (compose) in this chapter,
but that is completely detailed in later chapters.
%
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
|STEPS| |STEP 2|
#HH,1,6,80,1,1,0
#AR,0,7
This is Part 2 and 4 of Step 2, or
"b" and "d", depending on how
you sequence them.
But, it is the most important
mechanical part of constructing
CAITeach question files.
#HH,1,5,80,1,1,0
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|{4TYPES| |MERGE| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R10
▄█▀▀▀▀▀█▄ .∙ Much learning is by experimentation and observation ---
▐█▐─ô═ô─▌█▌∙. my preferred method.
└┤ /U\ ┌┘ .∙
│█▀▀▀█│ This chapter introduces you to ~W~ICAITeach~Y~I by showing
└┬███┬┘ you a completed file.
▒▒▒▒\■/▒▒▒▒
One of these last things you did in Chapter 1 was run a
file that demonstrated the four ~C~ICAITeach templates~Y~I.
Next, we will examine that file in great detail. I rewrote it as a ~C~ICOM~Y~I
file so I could get some color. Of course, you could, and should review it
in your editor.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|4TYPES| |NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#AP,0,12
You will next view the file {4TYPES.CHP, the one
you ran in Chapter 1.
During this first view just get used to my
display as we will use it several times
Note how the line number count is
displayed. Bottom right. Called "Rows."
There are notes at the bottom of the file.
After exit, I'll ask you how many lines there
were, excluding my boxed comments.
#HH,1,5,80,1,1,0
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
#EF
#T15,1,Renumbering and Testing the CAITeach Question File from DOS
#QQ,R,2
How many lines were in the
original file, {4TYPES.CHP
80
80,eighty
#R4
Five Questions times 16 lines per question = 80 lines.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
0,12,60,18,2,1,1,5,14,4
Next questions assume you have copy
of Quick Reference beside you.
= This will help you work with it =
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
▄█▀▀▀▀▀█▄ .∙ Let's talk about the number of lines in the file
▐█▐─ô═ô─▌█▌∙. and the number required for each question...
└┤ /U\ ┌┘ .∙
│█▀▀▀█│ All CAI question ~C~Itemplates~Y~I are divided into three
└┬███┬┘ divisions, each with a set number of lines:
▒▒▒▒ ■ ▒▒▒▒
Header........................... 5 lines
Question/Text/Mouse...............9 lines
Answer............................2 lines
========
TOTAL ~F16~F lines
Therefore, one question would have 16 lines, two questions would
have 32 lines, three questions 48 lines, and four questions 64, and five
questions 80 lines. Your ~W~INumAid~Y~I might help here.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#QQ,R,3
There were 80 lines in the file you
looked at. Each question has 16 lines.
How many questions were there?
5
five,5
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
#QQ,R,2
If your file has 10 questions,
how many total lines are there?
160
160
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#QQ,R,3
If your file has 9 questions,
and 1 study screen, how many
total lines are there?
160
160
#R4
STUDY screens and QUESTIONS take 10 lines each.
However, the STUDY screens are not counted in the scoring process.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R12
▓▓▓▓▓▓▓▓▌ OK! I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
▓▓▓▌ ▓▓▓▌
▓▓▓▌ Note that the first line of each question is numbered.
▓▓▓▌ Next, I'll ask you the first number found on line one
Next of the fourth question.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
message
#QQ,R,2
What is the first number found
on line one of the fourth question?
49
49
#R4
It must be flush left, within the first five spaces.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R10
▓▓▓▓▓▓▓▓▌ OK. I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
▓▓▓▌ ▓▓▓▌
▓▓▓▌ Note that the line on which each question starts has a
line number and " = Q Number2," both optional.
▓▓▓▌
Next ~C~INumber2~Y~I is a variable. It will not be ~C~INumber2~Y~I, but
a number represented by the variable. The equals sign
is cosmetic, entirely optionally. You may omit it, or use
any character which makes it easier for you to read.
Next, I'll ask you what that ~C~INumber2~Y~I represents on each line. HINT: Compare
~C~INumber2~Y~I with the position of that particular question in the file.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#R4
This number is used by the utilities, not by ~W~ICAITeach~Y~I.
#QQ,B,5
[True of False] The CAITeach Question always starts with a line
such as "Number1 = Q Number2 = Number3." Everything but the first
number is optional. The second number, Number2, when entered, or
placed there by the renumber utility is an editing aid which shows
the number of the question in the CAITeach file.
T
true,T,t
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R12
▓▓▓▓▓▓▓▓▌ OK. I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
▓▓▓▌ ▓▓▓▌
▓▓▓▌ Note that the line on which each question starts has a
line number, a second number, and last number, ~C~INumber3~Y~I.
▓▓▓▌
Next Next, I'll ask you what the variable, ~C~INumber3~Y~I, represents.
All of this is on Page 2 of your ~C~IQuick Reference~Y~I.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#QQ,B,5
[True of False] The CAITeach Question always starts with a
line such as Number1 = Q Number 2 = Number3 Everything but
the first number is optional. The last number, Number3, when
entered, or placed there by the renumber utility is an editing
aid that indicates the starting line number of the next question.
T
true,T,t
%
#EF
#HH,1,5,80,1,1,0
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R12
▓▓▓▓▓▓▓▓▌ So line 1 always starts a question or study template,
▓▓▓▌ ▓▓▓▌ and it is always a number.
▓▓▓▌
Here's a summary question on line 1...
▓▓▓▌
Next
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
~0No % here~Y~I
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
Your answer can not have a space.
#QQ,B,10
Line 1 of CAI template could start with three numbers, suggested by
the variables on the next line. Examine the list and enter the number
of each true statement. Do not use a space between your numbers.
Number1 = Q Number2 = Number3
1. Everything but the first number is optional.
2. Number1 must be flush left, and in the first five space.
3. Number2, could be any number, might be the questions number.
4. Number3, could be any number, might be line 1 of next question.
1234
1234
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R9
▄█▀▀▀▀▀█▄ .∙ Only one other thing about Line 1:
▐█▐─ô═ô─▌█▌∙.
└┤ /U\ ┌┘ .∙ The renumbering utility,~W~I{RENUM~Y~I, will renumber your
│█▀▀▀█│ file if it finds any number other than 0 or a
└┬███┬┘ letter on line one of each template.
▒▒▒▒ ■ ▒▒▒▒
You don't have to renumber your questions when you
merge them, but if you have over five I so recommend.
You certainly need to know what should be there.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#HH,1,5,80,1,1,0
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
|QUICK REFERENCE| |NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R6
In order to edit your files you must know the contents
▄█▀▀▀▀▀█▄ .∙ of each line. Now, lets examine line 3 as it is the
▐█▐─ô═ô─▌█▌∙. second most important line.
└┤ /U\ ┌┘ .∙
│█▀▀▀█│ Your ~W~IQuick Reference~Y~I, and prior discussion
└┬███┬┘ states that ~W~ICAITeach~Y~I has four templates:
▒▒▒▒\■/▒▒▒▒
Question Templates .............. 3
Study, or Text ...................1
A particular question-template is identified by a code on the third line
of each question, as shown in your ~W~IQuick Reference~Y~I.
Those are ~C~IStudy~Y~I, ~C~ITF~Y~I, ~C~IMC4,~Y~I and ~C~IKB~Y~I.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
|QUICK REFERENCE| |NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R10
▓▓▓▓▓▓▓▓▌ OK. I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
▓▓▓▌ ▓▓▓▌
▓▓▓▌
Examine the Question Codes (QCodes), and then
▓▓▓▌
Next I'll ask you how many ~C~IStudy~Y~I codes were in the
file, and on which line they always appear.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
#QQ,R,2
How many STUDY templates (codes)
were used in the file?
2
2,two
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
#QQ,R,2
On which line does one always
find the STUDY code?
3
3,three
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R7
▄█▀▀▀▀▀█▄ .∙ You may correctly conclude that the ~C~IQuestion Codes~Y~I, or
▐█▐─ô═ô─▌█▌∙. ~C~IQCodes~W~I are always found on line 3, and each code is~Y~I
└┤ /U\ ┌┘ .∙ ~C~Isuggested in the template file name~Y~I.
│█▀▀▀█│
└┬███┬┘ ~C~I- File - - Type - - QCode -~Y~I
▒▒▒▒\■/▒▒▒▒ {T-STUDY.CHP Study "Question" STUDY
{T-TF.CHP True-False TF
{T-MC4.CHP Multiple Choice MC
{T-KB.CHP Fill-In (Completion) KB
Line 3 of any template must contain one of the four ~C~IQCodes~W~I as identified
in that column, above. These codes are part of the template files.
To write a question you merge one of the ~C~I- Files -~Y~I into your editor, compose
your question, save it, test it, and call it from ~C~ITutorialWriter~Y~I.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
Refer to ~W~IQuick Reference ~Y~Iif necessary.
#QQ,B,8
Your template files are:
{T-STUDY.CHP {T-TF.CHP {T-MC4.CHP {T-KB.CHP
You are working in your editor building a CAITeach file and
want to write a study screen (template). Enter the complete
name of the file that you merge with your working file.
{T-STUDY.CHP
{T-STUDY.CHP
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
~W~IQuick Reference~Y~I has it also.
#QQ,B,8
Your template files are:
{T-STUDY.CHP {T-TF.CHP {T-MC4.CHP {T-KB.CHP
You are working in your editor building a CAITeach file and
want to write a fill-in (completion) question. Enter the
name of file that you merge with your working file.
{T-KB.CHP
{T-KB.CHP
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗
║ CAITeach Template║ Now we will start back at line 2, and
╒══════════════════╕ examine the other lines.
│ Line Number │
│ ? │ I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
│ 1 of 4 QCodes │
│ Citation Line │ Note exactly what always starts line 2
│ Ruler │ of each question-template.
│ 9 Text Lines │
│ 2 Answer Lines │ Then I'll tell you what it is.
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗
║ CAITeach Template║ Line 2 always starts with a semicolon.
╒══════════════════╕
│ Line Number │ Other than the semicolon it can contain anything
│ ; ice cream │ else. Use it for notes, or leave it blank.
│ One of 4 QCodes │
│ Citation Line │ Like a ~C~IREM~Y~I in BASIC.
│ Ruler │
│ 9 Text Lines │ However, it must start with a semicolon.
│ 2 Answer Lines │ (a diagnostic uses it)
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R10
╔══════════════════╗
║ CAITeach Template║
╒══════════════════╕ I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
│ Line Number │
│ ; REM line │ Scan the contents of line 4 of each template,
│ 1 of 4 QCodes │ but don't spend much time.
│ ? │
│ Ruler │ Then I'll tell you what it is.
│ 9 Text Lines │
│ 2 Answer Lines │
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗ Line 4 is called the citation line.
║ CAITeach Template║
╒══════════════════╕ It always displays; if blank, a blank line displays.
│ Line Number │
│ ; REM line │ I programmed it there because I often cite the book,
│ 1 of 4 QCodes │ and page number on this line. But use it any
│ Citation Line │ way you wish.
│ ? │
│ 9 Text Lines │ Now, here comes ~W~I{4TYPES.CHP~Y~I again. Examine what
│ 2 Answer Lines │ always appears on template line 5.
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗
║ CAITeach Template║ Line 5 is the ruler line, just an editing aid.
╒══════════════════╕
│ Line Number │ You may recall that the program sets the left
│ ; REM line │ screen margin at 3. The ruler line encourages
│ 1 of 4 QCodes │ you to stop in column 75.
│ Citation Line │
│ Rule:r...:... │ When finished you may erase anything after the ~C~Ir~Y~I
│ 9 Text Lines │ in ~C~Iruler~Y~I which is used diagnostically.
│ 2 Answer Lines │
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗ I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
║ CAITeach Template║
╒══════════════════╕ This time, just observe that lines 6 - 14 contain
│ Line Number │ questions, text material, mouse hot spots, or
│ ; REMarks line │ are empty.
│ 1 of 4 QCodes │
│ Citation Line │ Chapters 3 and 4 of this tutorial discuss those
│ Rule:r...:.. │ lines in detail, for one composes study or
│ 9 Text Lines │ question screens one these lines, each
│ Answer Line │ according to the question type.
│ Answer Comment │
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗
║ CAITeach Template║ But you do need to know about the last two lines,
╒══════════════════╕ called the answer lines, although there are
│ Line Number │ more details in Chapters 3 and 4.
│ ; REM line │
│ 1 of 4 QCodes │ These two lines vary by template, but you need
│ Citation Line │ to know their general characteristics
│ Rule:r...:... │ for formatting purposes.
│ 9 Text Lines │
│ Answer Line │
│ Answer Comment │ Almost finished~F....~F
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R10
▓▓▓▓▓▓▓▓▌ OK. I'm going to show you ~W~I{4TYPES.CHP~Y~I again.
▓▓▓▌ ▓▓▓▌
▓▓▓▌ Examine the last two lines of each ~FSTUDY~F template.
▓▓▓▌ Next, I'll ask what you always find on these two
Next
particular last line.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#QQ,R,3
What single symbol, or character,
always starts the last two
lines of a STUDY template.
;
;
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Renumbering and Testing the CAITeach Question File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R9
╔══════════════════╗
║ CAITeach Template║ Except for the study template, the next to last
╒══════════════════╕ line always includes an answer, which varies
│ Line Number │ with the template/question type, and is detailed
│ ; REM line │ in the next two chapters.
│ 1 of 4 QCodes │
│ Citation Line │
│ Rule:r...:... │ I'm going to show you ~W~I{4TYPES.CHP~Y~I. Note the
│ 9 Text Lines │ contents of the last line, and I'll discuss it.
│ Answer Line │
│ Answer Comment │
└──────────────────┘
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#U{4TYPESC.COM
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R8
╔══════════════════╗ Line 16, the last line is called the Answer
║ CAITeach Template║ Comment Line, and is optionally used for a
╒══════════════════╕ a teaching point.
│ Line Number │
│ ; REM line │ If the word ~C~INone~Y~I starts the line, then
│ 1 of 4 QCodes │ it is not displayed.
│ Citation Line │
│ Rule:r...:... │ However, any other line is displayed after the
│ 9 Text Lines │ student answers the question.
│ Answer Line │
│ Answer Comment │ (You may recall these are regular text lines in
└──────────────────┘ the ~C~IStudy~Y~I template.)
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#NC
#BO,20,12,64,19,2,1,1,5,14,4
"None" when used to suppress display
of the last line must start with a
capital "N," and not be in quotes.
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |QUICK REFERENCE|
#HH,1,5,80,1,1,0
#R12
▄█▀▀▀▀▀█▄ .∙ ~W~IQuick Reference~Y~I condenses this information for you.
▐█▐─ô═ô─▌█▌∙.
└┤ /U\ ┌┘ .∙ ~W~INumAid~Y~I shows you the first line for 40 questions.
│█▀▀▀█│
└┬███┬┘ Work with these two beside your keyboard
▒▒▒▒ ■ ▒▒▒▒
~W~IMight also be a good time to scan the template models.~Y~I
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |CAITEST File|
#HH,1,5,80,1,1,0
#R10
▄█▀▀▀▀▀█▄ .∙ One writes a CAITest File by merging templates into
▐█▐─ô═ô─▌█▌∙. a master file and composing questions within the
└┤ /U\ ┌┘ .∙ template format, as in the next two chapters. (It
│█▀▀▀█│ is not necessary to even renumber the first line of
└┬███┬┘ each template, but such is recommended, either by
▒▒▒▒ ■ ▒▒▒▒ manually changing the numbers or with the renumber
utility.)
~W~IThe next step is to test the new file, which is best
done by running it from DOS.~Y~I
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|NUMAID| |TEMPLATES| |STEPS| |STEP 2| |JUMP START|
#HH,1,5,80,1,1,0
#R10
▄█▀▀▀▀▀█▄ .∙ ~W~ICAITeach~Y~I files are driven, or run by file ~W~I{TEACHTW.EXE~Y~I.
▐█▐─ô═ô─▌█▌∙.
└┤ /U\ ┌┘ .∙
│█▀▀▀█│ To test a new file enter: ~W~I{TEACHTW FILE.EXT Title~Y~I
└┬███┬┘
▒▒▒▒ ■ ▒▒▒▒ {TEACHTW ............ Driver or engine
FILE ................ Name of CAITest file
EXT (not optional)... Extension of CAITest file
Title................ Any 5 words up to 41 letters
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#NC
#BO,20,12,64,19,2,1,1,5,14,4
When run the Title is displayed in a box
at the top of each screen. Color,
and box type are fixed.
#NC
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
#AP,0,7
Suggest you to run the Renumbering Utility
first. It is menu driven. To run, enter,
at DOS, {RENUM, Complete details are in the
Utility Chapter.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Mechanics: Checking and Testing the CAITest File from DOS
|JUMP START| |EXPERT| |NUMAID| |TEMPLATES| |STEPS| |STEP 2|
#HH,1,5,80,1,1,0
#R10
▄█▀▀▀▀▀█▄ .∙ W h a t n e x t . . . .
▐█▐─ô═ô─▌█▌∙.
└┤ ┘ .∙ Read the Help item ~M~IExpert~Y~I. You could be
│█▀▀▀█│ ready to start experimenting.
└┬███┬┘
▒▒▒▒ ▒▒▒▒ You do need to know where the mouse hot spots
are in the templates (so you don't write over them)
but that is shown on your ~W~IQuick Reference~Y~I
and the model templates. Besides, after a couple
of goofs it may all fall in place.
Chapter 3 further details the ~C~IStudy~Y~I and ~C~ITrue-False~Y~I templates.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#X